<template>
  <div class="row">
      <h1 v-show='userInfo.isInit'>请搜索</h1>
      <h1 v-show='userInfo.isSearch'>正在搜索中</h1>
      <Item 
      v-show='!userInfo.isInit&&!userInfo.isSearch'
      v-for='item in userInfo.userList' 
      :key='item.id' v-bind='item'

      />
      
    </div>
</template>

<script>
import Item from './Item'

export default {
    name:'List',
    props:['userInfo'],
    components:{
      Item
    }
}
</script>

<style>

</style>